<?php 
	$this->load->view('include/header'); 
		if(isset($data)):
			if($username): 
			 $this->load->view($content, $data);
			 $this->load->view('include/footer');
			endif;

			else: 
			$this->load->view($content);
			$this->load->view('include/footer');

		endif;
?>